package com.ngc.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ngc.mall.domain.AdminRoleDomain;
import com.ngc.mall.dto.RoleDTO;
import com.ngc.mall.vo.RoleVO;

import java.util.List;

public interface IRoleService extends IService<AdminRoleDomain> {
    List<RoleVO> selectAllRole();

    Boolean createRole(RoleDTO dto);

    Boolean updateRoleById(Long id,RoleDTO dto);

    AdminRoleDomain getDetailById(Long id);
}
